<?php
/**
 * Created by PhpStorm.
 * User: changshuiwang
 * Date: 2016/7/25
 * Time: 16:27
 */
namespace common\models;

use yii;
use yii\db\ActiveRecord;

class TeacBase extends ActiveRecord
{

    public static function getDb()
    {
        //return Yii::$app->site_db;
        return Yii::$app->db;
    }
}